package com.imooc.order.enums;

import lombok.Getter;

/**
 * @author 浦希成
 * 2018/7/28 9:19
 */
@Getter
public enum OrderStatusEnum {
    /**
     * 对应关系
     */
    NEW(0,"新订单"),
    FINISHED(1,"完结"),
    CANCEL(2,"取消"),
    ;
    private Integer code;
    private String message;

    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
